/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.base.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import com.chlitina.store.common.persistence.BaseDao;
import com.chlitina.store.common.persistence.BaseDaoImpl;
import com.chlitina.store.modules.base.entity.StoreRole;

/**
 * 店员角色DAO接口
 * @author lvbo
 * @version 2013-07-05
 */
public interface StoreRoleDao extends StoreRoleDaoCustom, CrudRepository<StoreRole, Long> {

	@Query("from StoreRole")
	public List<StoreRole> findAllList();
}

/**
 * DAO自定义接口
 * @author lvbo
 */
interface StoreRoleDaoCustom extends BaseDao<StoreRole> {
	
}

/**
 * DAO自定义接口实现
 * @author lvbo
 */
@Component
class StoreRoleDaoImpl extends BaseDaoImpl<StoreRole> implements StoreRoleDaoCustom {

}
